Fix installing fixmap_nocache entries, as used by PCI_MMCONFIG.
fixmap.h:
Address passed to set_fixmap_nocache is a machine-address -- install
it as such.
Kconfig:
Re-enable PCI_MMCONFIG.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
bool
depends on PCI && (PCI_GOMMCONFIG || (PCI_GOANY && ACPI))
select ACPI_BOOT
- default n
+ default y
source "drivers/pci/pcie/Kconfig"
* Some hardware wants to get fixmapped without caching.
*/
#define set_fixmap_nocache(idx, phys) \
- __set_fixmap(idx, phys, PAGE_KERNEL_NOCACHE)
+ __set_fixmap_ma(idx, phys, PAGE_KERNEL_NOCACHE)
#define clear_fixmap(idx) \
__set_fixmap(idx, 0, __pgprot(0))
* Some hardware wants to get fixmapped without caching.
*/
#define set_fixmap_nocache(idx, phys) \
- __set_fixmap(idx, phys, PAGE_KERNEL_NOCACHE)
+ __set_fixmap_ma(idx, phys, PAGE_KERNEL_NOCACHE)
#define clear_fixmap(idx) \
__set_fixmap(idx, 0, __pgprot(0))